package cz.none.bezbarier.web.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.transaction.annotation.Transactional;

import cz.none.bezbarier.web.form.FiltreForm;
import cz.none.bezbarier.web.form.PlaceForm;
import cz.none.bezbarier.web.model.Place;

@Transactional
public interface PlaceService extends BaseService<PlaceForm, Place, String> {

	@Transactional(readOnly = true)
	public Page<Place> getPlaces(Integer pageNumber, FiltreForm form);

	public List<cz.none.bezbarier.web.webmodel.Place> getPlaces();

}
